package com.kimoge.spring6.ioc.autowire.service;

import com.kimoge.spring6.ioc.autowire.dao.UserDao;

/**
 * @author kimoge
 * @date 2025/8/25
 * @description
 */
public class UserServiceImpl implements UserService{
    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void sayHello() {
        System.out.println("userServiceImpl sayHello");
        userDao.sayHello();
    }
}
